By ojha on
I have written a collapsible menu in Javascript for my site. But it is not working on Firefox browser. I have no clue why it is not. When I just test the code without putting it in drupal, the menu opens up in both IE and Firefox. As soon as I put it in a block in drupal it only works on IE. Please help. This issue has been troubling me for long.
Comments
Could you post a link to
Could you post a link to your site or somewhere where we can see this in action? Without being more specific and showing us an example its not really possible to help you here.
---
http://www.irrow.com/
Chances are there's a name
Chances are there's a name collision on the variables of some of your other embedded scripts.
If it's your own javascript code try using a prefix, just to be sure no values are overwritten.
Also check for events being overriden, i don't know which ones, but onload comes to mind.